package models

type TAllGameserverInfo struct {
	SvrId    int32
	AllCount int32
	SvrName  string
}

type CommonResult struct {
	InsertId int32
	Result   int32
}
type TAllAccount struct {
	UserName     string
	UserPassword string
	IpAddress    string
	TcpPort      string
	Platform     string
	SvrId        int32
	DwUin        int32 `orm:"column(dwUin)"`
	AutoId       int32
	Result       int32 `orm:"-"`
}

type GameBuildCode struct {
	Platform    string
	ResultCode  int
	BuildCode   int
	VersionName string
	Content     string
}

type PlayerAccountInfo struct {
	UserName     string
	UserPassword string
	Platform     string
	DwUin        int32
}

type HttpReqSqlFriendStruct struct {
	SenderId   int32
	ReceiverId int32
}

type SqlAddFriendStruct struct {
	SenderId   int32 `orm:"column(SenderId)"`
	ReceiverId int32 `orm:"column(ReceiverId)"`
	Auto_id    int32 `orm:"column(auto_id)"`
}

type HttpRetSqlAddFriendStruct struct {
	Datas  []SqlAddFriendStruct
	Result int
}

type FriendInfo struct {
	DwUin       int32
	ImageFrame  int32
	ImageIcon   int32
	DecorateCnt int32
	NickName    string
	ActiveTime  int32
	FaceBookId  string
}

type AddFriendData struct {
	Finfo FriendInfo
	DwUin int32
}

type PlayerAccountId struct {
	DwUin int32
}
type Server_info struct {
	SvrId     int32  `orm:"column(SvrId)"`
	SvrIpAddr string `orm:"column(SvrIpAddr)"`
	SvrName   string `orm:"column(SvrName)"`
}

type Account struct {
	UserName     string `orm:"column(user_name)" json:"Name"`
	UserPassword string `orm:"column(user_password)" json:"password"`
	LoginTime    int    `orm:"column(login_time)"`
	LogoutTime   int    `orm:"column(logout_time)"`
	Ip           string `orm:"column(ip_address)"`
	GmLevel      int    `orm:"column(gm_level)"`
	Platform     string `orm:"column(platform)"`
	IsOnline     int    `orm:"column(is_online)"`
	Channel      string `orm:"column(channel)"`
	DeviceId     string `orm:"column(device_id)"`
	AutoId       int    `orm:"column(auto_id)"`
}

type ServerVersionData struct {
	Uid         int    `orm:"column(Uid)" json:"Uid"`
	Platfrom    string `orm:"column(Platfrom)" json:"Platfrom"`
	BuildCode   int    `orm:"column(BuildCode)" json:"BuildCode"`
	VersionName string `orm:"column(VersionName)" json:"VersionName"`
	Content     string `orm:"column(Content)" json:"Content"`
}
